<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../print.css" type="text/css" media="print">
<meta content="UploadHelper,com.emc.esu.helpers.UploadHelper,bytesLoaded,bytesTotal,checksumming,complete,error,failed,mimeType,objectId,cancel,createObject,createObjectOnPath,updateObject" name="keywords">
<title>com.emc.esu.helpers.UploadHelper</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'UploadHelper - API Documentation';
				var baseRef = '../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">EMC ESU API for Adobe Flex</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../index-list.html')" href="../../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../../index.html?com/emc/esu/helpers/UploadHelper.html&amp;com/emc/esu/helpers/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;UploadHelper</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a>&nbsp;| <a href="#eventSummary">Events</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class UploadHelper"); titleBar_setSubNav(false,true,false,false,true,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.emc.esu.helpers</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class UploadHelper</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">UploadHelper <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../images/inherit-arrow.gif"> flash.events.EventDispatcher</td>
</tr>
</table>
<p></p>
  Helper class to create and update objects.  For large transfers, the content
  generally needs to be transferred to the server in smaller chunks.  This
  class reads data from a stream and incrementally uploads it
  to the server.
  <p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#bytesLoaded">bytesLoaded</a> : Number<div class="summaryTableDescription">
      The number of bytes uploaded.</div>
</td><td class="summaryTableOwnerCol">UploadHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#bytesTotal">bytesTotal</a> : Number<div class="summaryTableDescription">
      The total number of bytes to upload.</div>
</td><td class="summaryTableOwnerCol">UploadHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#checksumming">checksumming</a> : Boolean<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">UploadHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#complete">complete</a> : Boolean<div class="summaryTableDescription">
      Set to true when the upload has completed.</div>
</td><td class="summaryTableOwnerCol">UploadHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#error">error</a> : Error<div class="summaryTableDescription">
      If the upload has failed, this contains the error.</div>
</td><td class="summaryTableOwnerCol">UploadHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#failed">failed</a> : Boolean<div class="summaryTableDescription">
      Set to true if the upload has failed.</div>
</td><td class="summaryTableOwnerCol">UploadHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#mimeType">mimeType</a> : String<div class="summaryTableDescription"></div>
</td><td class="summaryTableOwnerCol">UploadHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#objectId">objectId</a> : <a href="../api/Identifier.html">Identifier</a>
<div class="summaryTableDescription">
   Contains the object ID that is being uploaded.</div>
</td><td class="summaryTableOwnerCol">UploadHelper</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#UploadHelper()">UploadHelper</a>(esu:<a href="../api/EsuApi.html">EsuApi</a>, buffsize:int)</div>
<div class="summaryTableDescription">
   Creates a new upload helper.</div>
</td><td class="summaryTableOwnerCol">UploadHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#cancel()">cancel</a>():void</div>
<div class="summaryTableDescription">
         Cancels the upload
         </div>
</td><td class="summaryTableOwnerCol">UploadHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#createObject()">createObject</a>(stream:IDataInput, streamLength:Number, acl:<a href="../api/Acl.html">Acl</a>, metadata:<a href="../api/MetadataList.html">MetadataList</a>):void</div>
<div class="summaryTableDescription">
   Creates a new object on the server.</div>
</td><td class="summaryTableOwnerCol">UploadHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#createObjectOnPath()">createObjectOnPath</a>(path:<a href="../api/ObjectPath.html">ObjectPath</a>, stream:IDataInput, streamLength:Number, acl:<a href="../api/Acl.html">Acl</a>, metadata:<a href="../api/MetadataList.html">MetadataList</a>):void</div>
<div class="summaryTableDescription">
   Creates a new object on the server.</div>
</td><td class="summaryTableOwnerCol">UploadHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#updateObject()">updateObject</a>(id:<a href="../api/Identifier.html">Identifier</a>, stream:IDataInput, streamLength:Number, acl:<a href="../api/Acl.html">Acl</a>, metadata:<a href="../api/MetadataList.html">MetadataList</a>):void</div>
<div class="summaryTableDescription">
         Updates an existing object on the server.</div>
</td><td class="summaryTableOwnerCol">UploadHelper</td>
</tr>
</table>
</div>
<a name="eventSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Events</div>
<table id="summaryTableEvent" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Event</th><th>Summary</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:complete">complete</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
  Dispatched when the download helper has completed
  </td><td class="summaryTableOwnerCol">UploadHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:error">error</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
  Dispatched when the download helper encounters an error
  </td><td class="summaryTableOwnerCol">UploadHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#event:progress">progress</a>
</div>
</td><td class="summaryTableDescription summaryTableCol">
  Dispatched as data chunks are read from the server
  </td><td class="summaryTableOwnerCol">UploadHelper</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="bytesLoaded"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">bytesLoaded</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>bytesLoaded:Number</code>&nbsp;&nbsp;[read-write]<p>
      The number of bytes uploaded.
      </p><p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get bytesLoaded():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set bytesLoaded(value:Number):void</code>
<br>
</div>
<a name="bytesTotal"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">bytesTotal</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>bytesTotal:Number</code>&nbsp;&nbsp;[read-write]<p>
      The total number of bytes to upload.
      </p><p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get bytesTotal():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set bytesTotal(value:Number):void</code>
<br>
</div>
<a name="checksumming"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">checksumming</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>checksumming:Boolean</code>&nbsp;&nbsp;[read-write]<p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get checksumming():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set checksumming(value:Boolean):void</code>
<br>
</div>
<a name="complete"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">complete</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>complete:Boolean</code>&nbsp;&nbsp;[read-write]<p>
      Set to true when the upload has completed.
      </p><p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get complete():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set complete(value:Boolean):void</code>
<br>
</div>
<a name="error"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">error</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>error:Error</code>&nbsp;&nbsp;[read-write]<p>
      If the upload has failed, this contains the error.
      </p><p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get error():Error</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set error(value:Error):void</code>
<br>
</div>
<a name="failed"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">failed</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>failed:Boolean</code>&nbsp;&nbsp;[read-write]<p>
      Set to true if the upload has failed.
      </p><p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get failed():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set failed(value:Boolean):void</code>
<br>
</div>
<a name="mimeType"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">mimeType</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>mimeType:String</code>&nbsp;&nbsp;[read-write]<p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get mimeType():String</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set mimeType(value:String):void</code>
<br>
</div>
<a name="objectId"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">objectId</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>objectId:<a href="../api/Identifier.html">Identifier</a></code>&nbsp;&nbsp;[read-write]<p>
   Contains the object ID that is being uploaded.
   </p><p>This property can be used as the source for data binding.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get objectId():<a href="../api/Identifier.html">Identifier</a></code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set objectId(value:<a href="../api/Identifier.html">Identifier</a>):void</code>
<br>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="UploadHelper()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">UploadHelper</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function UploadHelper(esu:<a href="../api/EsuApi.html">EsuApi</a>, buffsize:int)</code><p>
   Creates a new upload helper.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">esu</span>:<a href="../api/EsuApi.html">EsuApi</a></code> &mdash; the EsuApi object to use for the uploads.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">buffsize</span>:int</code> &mdash; the number of bytes to upload in each chunk.  By default,
   this is 4MB.
   </td>
</tr>
</table>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="cancel()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">cancel</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function cancel():void</code><p>
         Cancels the upload
         </p></div>
<a name="createObject()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">createObject</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function createObject(stream:IDataInput, streamLength:Number, acl:<a href="../api/Acl.html">Acl</a>, metadata:<a href="../api/MetadataList.html">MetadataList</a>):void</code><p>
   Creates a new object on the server.  When the complete event is fired, you
   can get the new object's ID from the objectId property.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">stream</span>:IDataInput</code> &mdash; the data to upload
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">streamLength</span>:Number</code> &mdash; the number of bytes to upload from the stream
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">acl</span>:<a href="../api/Acl.html">Acl</a></code> &mdash; the ACL for the new object.  May be null.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">metadata</span>:<a href="../api/MetadataList.html">MetadataList</a></code> &mdash; metadata to assign to the new object.  May be null.
   </td>
</tr>
</table>
</div>
<a name="createObjectOnPath()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">createObjectOnPath</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function createObjectOnPath(path:<a href="../api/ObjectPath.html">ObjectPath</a>, stream:IDataInput, streamLength:Number, acl:<a href="../api/Acl.html">Acl</a>, metadata:<a href="../api/MetadataList.html">MetadataList</a>):void</code><p>
   Creates a new object on the server.  When the complete event is fired, you
   can get the new object's ID from the objectId property.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">path</span>:<a href="../api/ObjectPath.html">ObjectPath</a></code> &mdash; the data to upload
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">stream</span>:IDataInput</code> &mdash; the number of bytes to upload from the stream
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">streamLength</span>:Number</code> &mdash; the ACL for the new object.  May be null.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">acl</span>:<a href="../api/Acl.html">Acl</a></code> &mdash; metadata to assign to the new object.  May be null.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">metadata</span>:<a href="../api/MetadataList.html">MetadataList</a></code></td>
</tr>
</table>
</div>
<a name="updateObject()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">updateObject</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function updateObject(id:<a href="../api/Identifier.html">Identifier</a>, stream:IDataInput, streamLength:Number, acl:<a href="../api/Acl.html">Acl</a>, metadata:<a href="../api/MetadataList.html">MetadataList</a>):void</code><p>
         Updates an existing object on the server.
         </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">id</span>:<a href="../api/Identifier.html">Identifier</a></code> &mdash; the object to update
         </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">stream</span>:IDataInput</code> &mdash; the new data for the object.
         </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">streamLength</span>:Number</code> &mdash; the number of bytes to upload from the stream
         </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">acl</span>:<a href="../api/Acl.html">Acl</a></code> &mdash; the new ACL for the object.  May be null.
         </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">metadata</span>:<a href="../api/MetadataList.html">MetadataList</a></code> &mdash; new metadata for the object.  May be null.
         </td>
</tr>
</table>
</div>
<div class="detailSectionHeader">Event detail</div>
<a name="event:complete"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">complete</td><td class="detailHeaderType">event&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>flash.events.Event</code></a>
<br>
<p></p><p>
  Dispatched when the download helper has completed
  </p></div>
<a name="event:error"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">error</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>flash.events.ErrorEvent</code></a>
<br>
<p></p><p>
  Dispatched when the download helper encounters an error
  </p></div>
<a name="event:progress"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">progress</td><td class="detailHeaderType">event&nbsp;</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<span class="label">Event object type: </span><a href=""><code>flash.events.ProgressEvent</code></a>
<br>
<p></p><p>
  Dispatched as data chunks are read from the server
  </p></div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">Copyright (c) 2008 EMC</center>
</div>
</body>
</html>
<!--Copyright (c) 2008 EMC-->
